package com.dyit.springcloud.hospital.doctor.dao;

import com.dyit.springcloud.hospital.domain.entity.Dept;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface IDeptDao extends JpaRepository<Dept,Integer> {
    Dept findDeptByName(String name);
}
